package com.magenta.maxoptra.gis.distancematrix;

import java.util.Set;

/**
 * @author Sergey Grachev
 */
public interface DistanceMatrixServiceProxy {

    void stopGroupUpdating(long groupId);

    void changeRequestsDelay(long groupId, int delay);

    void changeMatrixPriority(long groupId, long matrixId, long priority);

    void notifyMatrixUpdateFinished(long groupId, long matrixId, UpdateResultType resultType);

    void subscribe(String queueName, Set<EventType> events);

    void unsubscribe(String queueName, Set<EventType> events);
}
